package com.rc.saas.tenant.vo.battery;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseSearch;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zcg
 * @Date: 2021/4/9 10:55
 */
public class BatteryTotalDataRespVo {
    @ExcelProperty("订单号")
    private String orderNum;

    @ExcelProperty("外部订单号")
    private String outOrderNum;

    @ExcelProperty("车牌号")
    private String carNum;

    @ExcelProperty("vin码")
    private String carVin;

    @ExcelProperty("车辆类型")
    private String carType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("报告生成时间")
    private Date reportTime;

    @ExcelProperty("整体表现得分")
    private String overallPerformance;

    @ExcelProperty("是否存在问题")
    private String isError;

    public String getIsError() {
        if ("1".equals(isError)) {
            return "是";
        }
        return "否";

    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public void setIsError(String isError) {
        this.isError = isError;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public String getOverallPerformance() {
        return overallPerformance;
    }

    public void setOverallPerformance(String overallPerformance) {
        this.overallPerformance = overallPerformance;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }


}
